/*
 * UDS_process.h
 *
 *  Created on: 2019��7��18��
 *      Author: nxf10035
 */

#ifndef _UDS_PROCESS_H_
#define _UDS_PROCESS_H_

#include "includes.h"

#include "boot.h"

typedef void (*tpfTxMsgSuccCallback)(void);
extern void UDS_Process_init(void);
extern void UDS_RXMsgProcess(uint32 i_RxMsgId, uint32 i_RxMsgLen, uint8 *i_MsgBuf);
extern boolean UDS_GetTxMsgInfo(uint32 *o_pTxMsgId, uint32 *o_pTxMsgLen, uint8 *o_pTxMsgBuf);
extern boolean UDS_TxMsgToHost(void);

extern void UDS_ProcessMain(void);
extern void UDS_DoTxMsgCallback(void);
extern boolean UDS_IsDataNeedTx(void);

#endif /* _UDS_PROCESS_UDS_PROCESS_H_ */

